/* Copyright (c) 2004-2024 peigen.info. All rights reserved. */

package info.peigen.hotpot.manage.core.service.result.info;

import info.peigen.hotpot.common.service.base.ResultInfoBase;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.*;
import lombok.experimental.Accessors;
import lombok.experimental.FieldDefaults;
import lombok.experimental.SuperBuilder;

/**
 * <b>(RoleResultInfo)</b>
 * "角色" 值对象
 *
 * @author Peigen
 * @version 1.0.0
 * @since 2024-06-28
 */
@EqualsAndHashCode(callSuper = true)
@SuperBuilder
@Data
@NoArgsConstructor
@AllArgsConstructor
@FieldDefaults(level = AccessLevel.PRIVATE)
@Accessors(chain = true)
@ApiModel
public class RoleInfo extends ResultInfoBase {
    @ApiModelProperty(value = "角色Id", position = 1)
    String roleId;
    @ApiModelProperty(value = "组织Id", position = 2)
    String organizationId;
    @ApiModelProperty(value = "角色名", position = 3)
    String name;
    @ApiModelProperty(value = "角色编码", position = 4)
    String code;
    @ApiModelProperty(value = "分类", position = 5)
    String category;
    @ApiModelProperty(value = "排序序号", position = 6)
    Integer sort;
    @ApiModelProperty(value = "扩展信息", position = 7)
    String ext;
}